package mud.events;

import mud.Interactable;

/** Contains the details of a look action */
public class LookEvent extends EntityEvent {

    /** the target of the action */
    private final Interactable target;

    /**
     * Constructor
     * @param source the attacker 
     * @param target the entity at which is being looked
     */
    public LookEvent(Interactable source, Interactable target) {
        super(source);
        this.target = target;
    }
    
    /**
     * @return the target of the action
     */
    public Interactable getTarget() {
        return target;
    }
}
